home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld: Super Stacks!
/
Macworld CD.iso
/
HyperCard Archives
/
International
/
French v1.2.5.1
/
Piles principales
/
Notes sur la version 1.2.5
/
card_7164.txt
< prev
next >
Wrap
Text File
|
1989-10-04
|
3KB
|
120 lines
-- card: 7164 from stack: in.5
-- bmap block id: 0
-- flags: 0000
-- background id: 5683
-- name: Show Picture
----- HyperTalk script -----
on drawPicture
set cursor to watch
lock screen
choose oval tool
set dragSpeed to 90
set multiSpace to 2
set multiple to TRUE
set centered to TRUE
set filled to FALSE
drag from 256,171 to 306,221 with shiftKey
doMenu "Select All"
domenu "opaque"
unlock screen
end drawPicture
on cleanExit
--une idée pour utiliser la fonction revert avec un effec visuel
lock screen
doMenu "revert" --n'enregistre pas la nouvelle image
choose browse tool
unlock screen with dissolve slowly to white
end cleanExit
-- part contents for background part 7
----- text -----
Show Picture
-- part contents for background part 9
----- text -----
Nouvelles commandes HyperTalk
Carte 5 sur 5
-- part contents for background part 8
----- text -----
show picture of <carte>
show picture of <fond>
show card picture
show background picture
-- part contents for background part 10
----- text -----
carte> est une expression identifiant une carte ;
<fond> est une expression identifiant un fond.
-- part contents for background part 11
----- text -----
Show Picture affiche l'image de la carte ou du fond désigné. Show Card Picture et Show Background Picture affichent respectivement l'image de la carte COURANTE et du fond COURANT.
-- part contents for background part 17
----- text -----
--afficher l'image d'une carte ou d'un fond donné :
show picture of card 3
show pict of first cd
show picture of background "jazz"
show pict of prev bg
show pict of the name of this cd
show pict of Variable
--afficher l'image de la carte courante ou du fond
--courant :
show card picture
show cd pict
show background picture
show bg pict
-- part contents for background part 18
----- text -----
on showPictureDemo
--dessiner une image et ne l'afficher que
--lorsqu'elle est terminée :
hide card picture
drawPicture -- dans le script de cette carte
show cd pict
wait 2 sec
cleanExit -- dans le script de cette carte
end showPictureDemo
-- part contents for background part 31
----- text -----
Hide Picture
Lock et Unlock Screen
showPict
-- part contents for background part 35
----- text -----
• Lorsqu'une image de carte (ou de fond) est masquée et
que vous tentez
(a) de la modifier avec un outil de dessin ou
(b) d'y coller un dessin,
une zone de dialogue vous demande si vous souhaitez
afficher l'image. Cliquez sur OK pour la rendre visible,
ou bien sur Annuler.
• Un script peut modifier une image sans qu'elle soit
visible (et sans provoquer l'apparition de la zone de
dialogue).